
var recordFieldsresource=[
					
	{name:  "lib_resource",mapping : "lib_resource"},
	{name:  "id_resource",mapping : "id_resource"}

];

var myproxyresource=new Ext.data.HttpProxy({ 
	url : 'core/frm/action/resource.action.php',
	id:'presource',
	method: 'post'
});
var dsresource = new Ext.data.JsonStore({
	url : 'core/frm/action/resource.action.php',
	id:'jban',
	proxy : myproxyresource,
	root : 'result',
	totalProperty : 'totalcount', 
	fields :recordFieldsresource ,
	idProperty: 'id_resource',
	autoLoad:true
});
			